<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<FrontEnd.Models.AccountInfo>" %>

    <%= Html.ValidationSummary() %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Account Information</legend>				
                <p>
                    <label for="email">E-mail:</label>
                    <%= Html.TextBox("email") %>
                    <%= Html.ValidationMessage("email") %>
                </p>
                <p>
                    <label for="displayName">Display Name:</label>
                    <%= Html.TextBox("displayName")%>
                    <%= Html.ValidationMessage("displayName")%>
                </p>
                <p>
                    <label for="password">Password:</label>
                    <%= Html.Password("password") %>
                    <%= Html.ValidationMessage("password") %>
                </p>
                <p>
                    <label for="confirmPassword">Confirm password:</label>
                    <%= Html.Password("confirmPassword") %>
                    <%= Html.ValidationMessage("confirmPassword") %>
                </p>
            <p>
                <input type="submit" value="Register" /> or <%=Html.ActionLink("Cancel", "Index", "Content") %>
            </p>
        </fieldset>

    <% } %>   


